//Microsoft App Studio generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
#include "version.h"

/////////////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS


//////////////////////////////////////////////////////////////////////////////
//
// Menu
//

DIS6502MENU MENU DISCARDABLE 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "&New",                        ID_FILE_NEW
        MENUITEM SEPARATOR
        MENUITEM "&Open binary file...",        ID_FILE_OPEN
        MENUITEM "Open &disk image file...",    ID_FILE_OPEN_ATR
        MENUITEM "Open disk image &boot...",    ID_FILE_OPENDISKIMAGEBOOT
        MENUITEM "Open disk image &sectors...", ID_FILE_OPENDISKIMAGESECTORS
        MENUITEM "Open sp&y disk image data...",ID_FILE_OPENSPYDISKIMAGEDATA
        MENUITEM SEPARATOR
        MENUITEM "Save disassembly &listing...",ID_FILE_SAVEDISASSEMBLYLISTING

        MENUITEM SEPARATOR
        MENUITEM "Load &workspace...",          ID_FILE_LOADWORKSPACE
        MENUITEM "Save wor&kspace...",          ID_FILE_SAVEWORKSPACE
        MENUITEM SEPARATOR
        MENUITEM "E&xit",                       ID_FILE_QUIT
    END
    POPUP "&Select"
    BEGIN
        MENUITEM "Select &all",                 ID_EDIT_SELECTALL
        MENUITEM "Select s&prites...",          ID_EDIT_SELECTSPRITES
        MENUITEM SEPARATOR
        MENUITEM "&Find...",                    ID_EDIT_FIND
        MENUITEM "Find &next\tF3",              ID_EDIT_FINDNEXT
    END
    POPUP "&Labels"
    BEGIN
        MENUITEM "&Clear all",                  ID_LABELS_CLEAR
        MENUITEM "&Edit...",                    ID_LABELS_EDIT
        MENUITEM SEPARATOR
        MENUITEM "L&oad...",                    ID_LABELS_LOAD
        MENUITEM "&Save...",                    ID_LABELS_SAVE
    END
    POPUP "&Tools"
    BEGIN
        MENUITEM "&Merge segments",             ID_TOOLS_MERGESEGMENTS
        MENUITEM "&Write boot disk...",         ID_TOOLS_WRITEBOOTDISK
        MENUITEM SEPARATOR
        MENUITEM "Prepare &spy disk...",        ID_TOOLS_PREPARESPYDISK
        MENUITEM "&Disk image to PC transfer...",
                                                ID_TOOLS_DISKIMAGEPCTRANSFER
    END
    POPUP "&Options"
    BEGIN
        MENUITEM "&Screen display",             ID_OPTIONS_SCREENBYTEDUMP
        MENUITEM "&No disassembly",             ID_OPTIONS_NODISASSEMBLY
        MENUITEM SEPARATOR
        MENUITEM "Output &format...",           ID_OPTIONS_OUTPUTFORMAT
        MENUITEM "&Assembler format...",        ID_OPTIONS_ASSEMBLERFORMAT
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "&About...",                   IDM_ABOUT
    END
END


//////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

ABOUT DIALOG DISCARDABLE  22, 0, 205, 183
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "6502 Disassembler"
FONT 8, "System"
BEGIN
    CTEXT           "DIS6502 is a FREEWARE",IDC_STATIC,30,11,145,8
    CTEXT           "(c) 1997 Eric BACHER",IDC_STATIC,0,30,205,8
    CTEXT           "email: ebacher@compuserve.com",IDC_STATIC,0,39,205,8
    CTEXT           "http://ourworld.compuserve.com/homepages/ebacher/",
                    IDC_STATIC,0,48,205,8
    CTEXT           "The purpose of this software is to disassemble ATARI",
                    IDC_STATIC,0,64,205,8
    CTEXT           "binary file and generate a listing ready to assemble.",
                    IDC_STATIC,0,73,205,8
    CTEXT           "Feel free to send any comments, new ideas or",
                    IDC_STATIC,0,91,205,8
    CTEXT           "bug reports to improve this software to Eric BACHER.",
                    IDC_STATIC,0,100,205,8
    ICON            IDI_DIS6502,IDC_STATIC,9,7,18,20
    LISTBOX         IDC_LIST_VERSION,6,116,193,44,LBS_USETABSTOPS | 
                    WS_DISABLED | WS_VSCROLL | WS_TABSTOP
    DEFPUSHBUTTON   "OK",IDOK,78,164,50,14
END

LOADINGLABELBOX DIALOG DISCARDABLE  50, 50, 159, 28
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "6502 Disassembler"
FONT 8, "MS Sans Serif"
BEGIN
    CTEXT           "Loading system equates...",IDC_STATIC,0,9,160,11
END

DISPROCESSBOX DIALOG DISCARDABLE  40, 40, 159, 65
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "6502 Disassembler"
FONT 8, "MS Sans Serif"
BEGIN
    CTEXT           "Disassembling - Please wait...",IDC_STATIC,0,9,160,11
    RTEXT           "Pass:",IDC_STATIC,21,25,28,11
    LTEXT           "0",IDC_PASS_NUMBER,54,25,18,11
    RTEXT           "Segment:",IDC_STATIC,81,25,37,11
    LTEXT           "0",IDC_SEGMENT_NUMBER,123,25,25,11
    PUSHBUTTON      "Cancel",IDCANCEL,54,42,50,14
END

ATRFILEBOX DIALOG DISCARDABLE  30, 30, 199, 112
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Choose ATARI binary file"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,143,29,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,143,47,50,14
    LISTBOX         IDC_LISTFILE,7,29,129,64,LBS_NOINTEGRALHEIGHT | 
                    LBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    RTEXT           "Disk:",IDC_STATIC,0,7,24,9
    LTEXT           "Disk Image Name",IDC_DISKIMAGE,30,7,169,9
    RTEXT           "File:",IDC_STATIC,0,98,21,9
    LTEXT           "Binary File Name",IDC_BINARYFILE,27,98,172,9
    LTEXT           " L FilenameExt Size Start",IDC_LISTHEADER,8,19,127,9
END

FINDSPRITES DIALOG DISCARDABLE  50, 0, 207, 191
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Sprite Selection"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Sprite Width:",IDC_SPRITETEXT,135,136,47,8
    LTEXT           "00",IDC_SPRITEWIDTH,186,136,12,8
    LTEXT           "Start Address:",IDC_ADDRESSTEXT,9,136,51,8
    LTEXT           "$0000",IDC_ADDRESSSTART,64,136,52,8
    LTEXT           "Graphic Mode:",IDC_GRAPHICTEXT,9,152,52,8
    COMBOBOX        IDC_GRAPHICCOMBO,65,150,132,78,CBS_DROPDOWNLIST | 
                    WS_VSCROLL | WS_TABSTOP
    DEFPUSHBUTTON   "OK",IDOK,43,170,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,114,170,50,14
    CONTROL         "",IDC_GRAPHIC,"SpriteCtrlClass",WS_BORDER | WS_VSCROLL | 
                    WS_HSCROLL,8,9,190,118
END

LOHIBYTEBOX DIALOG DISCARDABLE  0, 0, 166, 47
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Information for LOBYTE/HIBYTE"
FONT 8, "MS Sans Serif"
BEGIN
    RTEXT           "Enter missing part of the address: $",IDC_STATIC,8,9,
                    117,8
    EDITTEXT        IDC_HIBYTE,126,8,16,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_LOBYTE,141,8,16,12,ES_AUTOHSCROLL
    DEFPUSHBUTTON   "OK",IDOK,25,27,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,91,27,50,14
END

ATRSECTORSBOX DIALOG DISCARDABLE  10, 10, 187, 205
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Choose sectors"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Static",IDC_ATRFILENAME,9,8,167,8
    LTEXT           "Sec# Addr Start Len",IDC_LISTTITLE,9,22,109,8
    LISTBOX         IDC_SECTORLIST,8,33,112,60,LBS_SORT | 
                    LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | WS_VSCROLL | 
                    WS_TABSTOP
    PUSHBUTTON      "Add",IDC_ADDSECTOR,128,62,50,14
    PUSHBUTTON      "Remove",IDC_REMOVESECTOR,128,79,50,14
    RTEXT           "Sec#",IDC_STATIC,7,102,20,8
    LTEXT           "1234",IDC_SECTORNUMBER,31,102,22,8
    SCROLLBAR       IDC_SECTORSCROLL,57,101,62,11,WS_TABSTOP
    RTEXT           "Addr: $",IDC_STATIC,126,102,24,8
    EDITTEXT        IDC_ADDRSECTOR,152,101,26,12,ES_AUTOHSCROLL
    CONTROL         "User1",IDC_SECDUMP,"DumpCtrlClass",WS_BORDER,7,118,172,
                    80
    DEFPUSHBUTTON   "OK",IDOK,128,22,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,128,39,50,14
END

SETSPYBOX DIALOG DISCARDABLE  30, 10, 183, 192
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Prepare spy disk"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Patch addr ($):",IDC_STATIC,8,13,56,8
    COMBOBOX        IDC_COMBOPATCH,7,25,55,65,CBS_SIMPLE | WS_VSCROLL | 
                    WS_TABSTOP
    PUSHBUTTON      "Add",IDC_ADDSPY,68,26,50,14
    PUSHBUTTON      "Remove",IDC_REMOVESPY,68,44,50,14
    LTEXT           "Patch title:",IDC_STATIC,69,63,106,8
    EDITTEXT        IDC_PATCHTITLE,68,74,109,14,ES_UPPERCASE | 
                    ES_AUTOHSCROLL
    CONTROL         "Continue execution of boot disk after last patch",
                    IDC_CHECKSPY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,93,
                    169,10
    LTEXT           "Memory areas to save on spy disk:",IDC_STATIC,7,105,168,
                    8
    LISTBOX         IDC_LISTMEMSPY,6,116,112,69,LBS_NOINTEGRALHEIGHT | 
                    LBS_EXTENDEDSEL | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "Add",IDC_ADDMEMSPY,127,117,50,14
    PUSHBUTTON      "Remove",IDC_REMOVEMEMSPY,127,136,50,14
    RTEXT           "Addr: $",IDC_ADDRSAVE,123,157,26,8
    EDITTEXT        IDC_MEMADDR,153,156,24,12,ES_AUTOHSCROLL
    RTEXT           "Length:",IDC_ADDRSAVE2,123,174,26,8
    EDITTEXT        IDC_MEMLEN,153,173,24,12,ES_AUTOHSCROLL
    PUSHBUTTON      "Close",IDCANCEL,126,7,50,14
    PUSHBUTTON      "Load spy...",IDC_LOADSPY,126,26,50,14
    PUSHBUTTON      "Save spy...",IDC_SAVESPY,126,44,50,14
END

WRITEBOOTBOX DIALOG DISCARDABLE  40, 40, 162, 42
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Write boot disk"
FONT 8, "MS Sans Serif"
BEGIN
    RTEXT           "Load Address: $",IDC_STATIC,9,9,53,9
    EDITTEXT        IDC_BOOTLOADADDR,66,7,28,12,ES_AUTOHSCROLL
    RTEXT           "Init Address: $",IDC_STATIC,9,26,53,9
    EDITTEXT        IDC_BOOTINITADDR,66,24,28,12,ES_AUTOHSCROLL
    DEFPUSHBUTTON   "OK",IDOK,105,6,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,105,23,50,14
END

ASMFORMATBOX DIALOG DISCARDABLE  40, -40, 243, 279
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Assembler format"
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "General",IDC_STATIC,7,4,161,68
    RTEXT           "Comment:",IDC_STATIC,11,17,36,8
    EDITTEXT        IDC_COMMENT,51,15,30,12,ES_AUTOHSCROLL
    RTEXT           "Hex prefix:",IDC_STATIC,89,17,38,8
    EDITTEXT        IDC_HEXNOTATION,131,15,30,12,ES_AUTOHSCROLL
    CONTROL         "Illegal instructions",IDC_ILLEGALINSTRUCTION,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,14,31,74,10
    CONTROL         "Line numbering",IDC_LINENUMBERING,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,91,31,70,10
    CONTROL         "Align instructions",IDC_ALIGNINSTRUCTION,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,14,44,75,10
    CONTROL         "Use hex notation",IDC_USEHEX,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,91,44,70,10
    CONTROL         "Display 'A' in Accumulator mode",IDC_SHOWIMPLICITE,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,57,147,10
    GROUPBOX        "Directive syntax",IDC_STATIC,7,77,230,112
    CONTROL         "Only numbers in .BYTE",IDC_NUMONLYINBYTE,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,14,89,90,10
    CONTROL         ".WORD allowed:",IDC_WORDALLOWED,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,125,89,65,10
    EDITTEXT        IDC_WORDSYNTAX,194,88,34,12,ES_AUTOHSCROLL
    RTEXT           ".BYTE:",IDC_STATIC,10,106,29,8
    EDITTEXT        IDC_BYTESYNTAX,43,104,34,12,ES_AUTOHSCROLL
    RTEXT           "Sep:",IDC_STATIC,82,105,18,8
    EDITTEXT        IDC_BYTESEPARATOR,104,103,13,12,ES_AUTOHSCROLL
    CONTROL         ".SBYTE allowed:",IDC_SBYTEALLOWED,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,125,105,65,10
    EDITTEXT        IDC_SBYTESYNTAX,194,104,34,12,ES_AUTOHSCROLL
    RTEXT           ".ORG:",IDC_STATIC,11,122,28,8
    EDITTEXT        IDC_ORGSYNTAX,43,120,34,12,ES_AUTOHSCROLL
    RTEXT           "Low byte:",IDC_STATIC,87,122,39,8
    EDITTEXT        IDC_LOWHEADSYNTAX,130,120,34,12,ES_AUTOHSCROLL
    CTEXT           "ADDR",IDC_STATIC,168,122,23,8,WS_DISABLED
    EDITTEXT        IDC_LOWTAILSYNTAX,194,120,34,12,ES_AUTOHSCROLL
    RTEXT           "EQU:",IDC_STATIC,11,139,28,8
    EDITTEXT        IDC_EQUSYNTAX,43,137,34,12,ES_AUTOHSCROLL
    RTEXT           "High byte:",IDC_STATIC,86,138,40,8
    EDITTEXT        IDC_HIGHHEADSYNTAX,130,136,34,12,ES_AUTOHSCROLL
    CTEXT           "ADDR",IDC_STATIC,168,138,23,8,WS_DISABLED
    EDITTEXT        IDC_HIGHTAILSYNTAX,194,136,34,12,ES_AUTOHSCROLL
    RTEXT           ".END:",IDC_STATIC,10,155,28,8
    EDITTEXT        IDC_ENDSYNTAX,42,153,57,12,ES_AUTOHSCROLL
    CONTROL         "Add filename",IDC_ENDFILENAME,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,104,154,57,10
    EDITTEXT        IDC_ENDTAIL,165,152,64,12,ES_AUTOHSCROLL
    CONTROL         ".DS allowed (data storage):",IDC_DSALLOWED,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,15,170,107,10
    EDITTEXT        IDC_DSSYNTAX,130,169,34,12,ES_AUTOHSCROLL
    GROUPBOX        "Include files",IDC_STATIC,7,193,230,73
    RTEXT           ".INCLUDE:",IDC_STATIC,10,206,41,8
    EDITTEXT        IDC_INCLUDEHEAD,55,204,64,12,ES_AUTOHSCROLL
    CTEXT           "FILENAME",IDC_STATIC,122,206,38,8,WS_DISABLED
    EDITTEXT        IDC_INCLUDETAIL,164,204,64,12,ES_AUTOHSCROLL
    RTEXT           "Maximum number of lines of one included file:",
                    IDC_STATIC,14,222,175,8
    EDITTEXT        IDC_MAXINCLUDELINES,193,220,34,12,ES_AUTOHSCROLL
    CONTROL         "All files included in 1 main file",IDC_RADIOINCLUDE1,
                    "Button",BS_AUTORADIOBUTTON | WS_TABSTOP,13,236,111,10
    CONTROL         "Each file includes next one",IDC_RADIOINCLUDE2,"Button",
                    BS_AUTORADIOBUTTON,129,236,102,10
    CONTROL         "Include files allowed (.INCLUDE directive with MAC/65)",
                    IDC_INCLUDEALLOWED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    13,251,210,10
    DEFPUSHBUTTON   "OK",IDOK,187,6,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,187,23,50,14
    PUSHBUTTON      "Load profile...",ID_LOAD_PROFILE,175,40,62,14
    PUSHBUTTON      "Save profile...",ID_SAVE_PROFILE,175,57,62,14
END

OUTPUTFORMATBOX DIALOG DISCARDABLE  10, 20, 229, 71
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Output format"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,173,9,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,172,28,50,14
    GROUPBOX        "Format",IDC_STATIC,7,6,160,59
    RTEXT           "Number of WORD(s) per line:",IDC_STATIC,21,17,103,8
    EDITTEXT        IDC_WORDPERLINE,128,14,30,12,ES_AUTOHSCROLL
    RTEXT           "Number of BYTE(s) per line:",IDC_STATIC,24,33,99,8
    EDITTEXT        IDC_BYTEPERLINE,128,30,30,12,ES_AUTOHSCROLL
    RTEXT           "Number of character(s) per string:",IDC_STATIC,14,49,
                    113,8
    EDITTEXT        IDC_CHARPERLINE,128,46,30,12,ES_AUTOHSCROLL
END

TRANSFERBOX DIALOG DISCARDABLE  0, 0, 291, 188
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Disk image to PC transfer"
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "ATARI 8 bits",IDC_STATICATARI,7,7,157,174
    LTEXT           "Disk Image &File:",IDC_STATICDISQUE,14,22,86,9
    EDITTEXT        IDC_DISQUEATARI,13,36,144,12,ES_AUTOHSCROLL
    PUSHBUTTON      "&Browse...",IDC_PARCOURIR,107,17,50,14
    LISTBOX         IDC_LISTEATARI,13,55,88,98,LBS_USETABSTOPS | 
                    LBS_EXTENDEDSEL | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Total &Sectors:",IDC_STATICTAILLE,14,162,49,9
    EDITTEXT        IDC_TAILLE,76,160,25,13,ES_AUTOHSCROLL | ES_READONLY
    DEFPUSHBUTTON   "&Refresh",IDOK,107,55,50,14
    PUSHBUTTON      "<- &Import",IDC_IMPORTER,107,82,50,14
    PUSHBUTTON      "&Export ->",IDC_EXPORTER,107,100,50,15
    CONTROL         "&Translate",IDC_CONVERTIR,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,110,128,45,10
    PUSHBUTTON      "Close",IDCANCEL,107,159,50,14
    GROUPBOX        "PC",IDC_STATICPC,171,7,113,174
    LTEXT           "&Drive:",IDC_STATICLECTEUR,178,20,30,9
    COMBOBOX        IDC_LECTEURPC,222,18,54,57,CBS_DROPDOWNLIST | CBS_SORT | 
                    WS_VSCROLL | WS_TABSTOP
    LTEXT           "Dire&ctories:",IDC_STATICREPERTOIRE,178,34,43,9
    LISTBOX         IDC_REPERTOIREPC,177,47,98,41,LBS_SORT | WS_VSCROLL | 
                    WS_TABSTOP
    LISTBOX         IDC_FICHIERSPC,177,95,98,61,LBS_SORT | LBS_EXTENDEDSEL | 
                    WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_CHEMINPC,177,159,98,12,ES_AUTOHSCROLL | ES_READONLY
    LTEXT           "text files",IDC_STATIC,119,139,36,9
END

LOADINGUSERLABELBOX DIALOG DISCARDABLE  50, 50, 159, 28
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "6502 Disassembler"
FONT 8, "MS Sans Serif"
BEGIN
    CTEXT           "Loading user equates...",IDC_STATIC,0,9,160,11
END

FINDSTRING DIALOG DISCARDABLE  60, 20, 183, 89
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Find string"
FONT 8, "MS Sans Serif"
BEGIN
    RTEXT           "&Hex:",IDC_STATIC,6,10,23,8
    EDITTEXT        IDC_FINDHEX,32,8,143,12,ES_AUTOHSCROLL
    RTEXT           "&Ascii:",IDC_STATIC,6,26,23,8
    EDITTEXT        IDC_FINDASCII,32,24,143,12,ES_AUTOHSCROLL
    GROUPBOX        "Scope",IDC_STATIC,8,42,107,39
    CONTROL         "&Whole binary file",IDC_RADIO_WHOLE,"Button",
                    BS_AUTORADIOBUTTON,15,53,91,10
    CONTROL         "&Selected segment",IDC_RADIO_SELECTED,"Button",
                    BS_AUTORADIOBUTTON,14,66,91,10
    DEFPUSHBUTTON   "OK",IDOK,123,47,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,123,64,50,14
END

EDITLABEL DIALOG DISCARDABLE  15, 20, 203, 154
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Edit user labels"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Addr ($)",IDC_STATIC,10,7,28,9
    LTEXT           "Label",IDC_STATIC,42,7,94,9
    LISTBOX         IDC_LIST_LABEL,8,19,130,107,LBS_SORT | LBS_USETABSTOPS | 
                    LBS_EXTENDEDSEL | WS_VSCROLL | WS_TABSTOP
    RTEXT           "&Addr: $",IDC_STATIC,6,134,27,9
    EDITTEXT        IDC_LABELADDR,36,132,30,12,ES_AUTOHSCROLL
    RTEXT           "&Label:",IDC_STATIC,70,134,24,9
    EDITTEXT        IDC_LABELTEXT,97,132,97,12,ES_AUTOHSCROLL
    DEFPUSHBUTTON   "OK",IDOK,144,6,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,144,23,50,14
    PUSHBUTTON      "&Delete",IDC_DELETELABEL,144,92,50,14
    PUSHBUTTON      "Add/&Modify",IDC_ADDLABEL,144,110,50,14
END

#ifdef APSTUDIO_INVOKED
//////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
    "#include ""windows.h""\r\n"
    "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
    "#include ""version.h""\r\n"
    "\0"
END

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#include ""dis6502.rc2""\r\n"
    "\0"
END

/////////////////////////////////////////////////////////////////////////////////////
#endif    // APSTUDIO_INVOKED


//////////////////////////////////////////////////////////////////////////////
//
// Icon
//

IDI_DIS6502             ICON    DISCARDABLE     "DIS6502.ICO"

//////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//

ACCELERATORS ACCELERATORS DISCARDABLE 
BEGIN
    VK_F3,          ID_EDIT_FINDNEXT,       VIRTKEY,NOINVERT
END


//////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_OPEN_BINARY         "Open 6502 binary file"
    IDS_TITLE_APP           "6502 Disassembler for "
    IDS_ERR_OPENING_FILE    "Error while opening file %s"
    IDS_ERR_READING_FILE    "Error reading file %s.\nEither the file is corrupted or it is not an %s binary file\nor the file contains more than 256 segments !"
    IDS_SEGMENT_TITLE       "Segments for %s"
    IDS_NO_SEGMENT_TITLE    "No file loaded"
    IDS_FNT_NOT_FOUND       "Font could not be loaded by %s\nUsing default font"
    IDS_DUMP_TITLE          "Dump of segment $%04X-$%04X:%u"
    IDS_NO_DUMP_TITLE       "No dump"
    IDS_DIS_TITLE           "Disassembly"
    IDS_ERR_OPENING_EQU_FILE "Error while opening equate file %s"
    IDS_ERR_DUP_LABEL       "Label %s is defined twice in file %s"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_ERR_DUP_ADDR        "Address $%04X is defined twice (labels %s and %s) in file %s"
    IDS_ERR_NO_LABEL        "No label found in file %s"
    IDS_ERR_NO_MEMORY       "Could not allocate memory !"
    IDS_ERR_LABEL_OVEFLOW   "Label overflow (too many labels) !"
    IDS_ERR_ATARI_FILE      "File not found in disk image"
    IDS_ERR_NO_ATARI_FILE   "No file found in disk image %s"
    IDS_OPEN_DISK_IMAGE     "Open disk image"
    IDS_ERR_READING_ATR     "Error reading file %s.\nEither the disk image file is corrupted or it is not an Atari single/enhanced density disk image file\nor the file contains more than 256 segments !"
    IDS_ANTIC_8             "ANTIC 8 (40x24x4)"
    IDS_ANTIC_9             "ANTIC 9 (80x48x2)"
    IDS_ANTIC_A             "ANTIC A (80x48x4)"
    IDS_ANTIC_B             "ANTIC B (160x96x2)"
    IDS_ANTIC_C             "ANTIC C (160x192x2)"
    IDS_ANTIC_D             "ANTIC D (160x96x4)"
    IDS_ANTIC_E             "ANTIC E (160x192x4)"
    IDS_ANTIC_F             "ANTIC F (320x192x1)"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_ERR_NO_BOOT         "Disk image %s is not bootable"
    IDS_ERR_BAD_TYPE        "The byte type %u at address $%04X is unknown (internal error) !"
    IDS_ERR_LOHI_FIRST      "LOBYTE/HIBYTE not allowed for first byte of segment !"
    IDS_ERR_MULTI_LOHI      "LOBYTE/HIBYTE can not be applied on a multi-byte selection !"
    IDS_ERR_BAD_MODE_FOR_LOHI 
                            "LOBYTE/HIBYTE is relevant only for immediate operand !"
    IDS_ASK_REPLACE         "Do you want to replace existing segments ?\n\nIf you answer No, these new segments will be added to the existing ones."
    IDS_ERR_NO_FREE_SEG     "No more free segments (maximum is 256) !"
    IDS_ERR_TOO_MANY_PATCHES "Too many patches !"
    IDS_ERR_BAD_SPY_LEN     "Length should not be greater than 128 (sector size) !"
    IDS_ERR_TOO_MANY_SPY    "Too many addresses to spy !"
    IDS_OPEN_SPY_IMAGE      "Open spy disk image"
    IDS_NOT_SPY_DISK        "Not a spy disk !"
    IDS_SAVE_SPY_IMAGE      "Save spy disk image"
    IDS_ERR_NO_SEGMENT      "There is no segment in memory !"
    IDS_SAVE_BOOT_IMAGE     "Save boot disk image"
    IDS_OPEN_CONFIG         "Open profile"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_ERR_BAD_CONFIG      "File %s is not a valid profile !"
    IDS_SAVE_CONFIG         "Save profile"
    IDS_ERR_WRITING_FILE    "Error while writing file %s"
    IDS_SAVE_ASM_LISTING    "Save disassembly listing"
    IDS_OPEN_USER_EQU       "Open user equates"
    IDS_SAVE_WORKSPACE      "Save workspace"
    IDS_ERR_BAD_WORKSPACE   "File %s is not a valid workspace !"
    IDS_LOAD_WORKSPACE      "Load workspace"
    IDS_ASK_RESET           "Loading a workspace will clear all existing segments.\nDo you want to continue ?"
    IDS_STRING_NOT_FOUND    "String not found !"
    IDS_ERR_IMG_BAD_MAGIC   "ATR file does not have a NICKATARI signature"
    IDS_ERR_IMG_FILE_NOT_FOUND "File does not exist"
    IDS_ERR_IMG_OUT_OF_RANGE "Sector out of range"
    IDS_ERR_IMG_DISK_ERROR  "Disk error occured"
    IDS_ERR_IMG_WRITE_PROTECT "Disk image is write protected"
    IDS_SAVE_USER_EQU       "Save user equates"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_ASK_USER_CLEAR      "Are you sure you want to clear all user symbols ?"
    IDS_COMPUTER_NOT_LOADED "Computer file %s can not be loaded"
    IDS_COMPUTER_MEM_ERR    "Not enough memory to load computer file %s"
    IDS_COMPUTER_NOT_FOUND  "Computer file %s was not found"
    IDS_ENTRY_NOT_FOUND     "File %s has not all entry points expected"
END


#ifndef APSTUDIO_INVOKED
////////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "dis6502.rc2"

/////////////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

